from django.contrib import admin
from django.urls import path
from api import views as api_views

urlpatterns = [
    path('pulsarv_debug/', api_views.pulsarv_debug),
    path('admin/', admin.site.urls),
    path('install/', api_views.install),
    path('login/', api_views.userlogin),
    path('logout/', api_views.userlogout),
    path('monitor/', api_views.monitor),
    path('monitor/<int:page>/<int:max_device>', api_views.monitor),
    path('regist/', api_views.userregist),
    path('account/', api_views.account),
    path('account/<int:id>', api_views.account),
    path('bunk/', api_views.bunk),
    path('bunk/<int:id>', api_views.bunk),
    path('warning/', api_views.warning),
    path('area/', api_views.area),
    path('area/<str:name>', api_views.area),
]
